package org.kfive.nova;

import org.kfive.nova.functional.LazyHolder;

/**
 * Created by zhanwu.lzw on 2017/11/14.
 */
public class FunctionalTest {

    public static void main(String[] args) {
        LazyHolder<String> strCache = new LazyHolder<>(String::new);
        String str1 = strCache.get();
        String str2 = strCache.get();
        System.out.println(str1.equals(str2));
    }
}
